package ModelLayer;

import java.util.Date;

/**
 *
 */
public class Copy {
    // instance variables - replace the example below with your own
    private int serialNumber;
    private Date purchaseDate;
    private double purchasesPrices;
    private boolean isHome;

    /**
     * Constructor for objects of class Copy
     */
    public Copy(int serialNumber, Date purchaseDate, double purchasesPrices) {
        this.serialNumber = serialNumber;
        this.purchaseDate = purchaseDate;
        this.purchasesPrices = purchasesPrices;
    }

    public Copy() {
    }

    /**
     * An example of a method - replace this comment with your own
     * SetogGet
     */
    public int getSerialNumber() {
        return serialNumber;
    }

    public Date getPurchaseDate() {
        return purchaseDate;
    }

    public double getPurchasesPrices() {
        return purchasesPrices;
    }

    public boolean getIsHome() {
        return isHome;
    }

    public void setSerialNumber(int serialNumber) {
        this.serialNumber = serialNumber;
    }

    public void setPurchaseDate(Date purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public void setPurchasesPrice(double purchasesPrice) {
        this.purchasesPrices = purchasesPrices;
    }

    public void setIsHome(boolean b) {
        isHome = b;
    }
}
